package app.r_teenus.backend.dao;


import java.util.List;

import app.r_teenus.backend.model.Contact;
import app.r_teenus.backend.model.Employee;


public interface EmployeeDao extends DefaultDao{

	public Employee findEmployeeById(Integer id);
    /**
     * Saves employee.
     */
    public Employee save(Employee employee);
    /**
     * Saves contact to employee by adding or updating record.
     */
    public Employee saveContact(Employee employee, Contact contact);
    
	public List<Employee> findEmployees();

	public Employee createNewEmployee();
	/**
	 * Deletes contact.
	 */
	public Employee deleteContact(Employee employee, Integer contactId);
	/**
	 * Deletes person.
	 */
	public void delete(Employee employee);

}
